package com.ywjt.platformbusiness.store.adapter;

import androidx.annotation.Nullable;
import androidx.recyclerview.widget.RecyclerView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ywjt.platformbusiness.R;
import com.ywjt.platformbusiness.store.model.WeekThisYear;

import java.util.List;

public class WeekThisYearCAdapter extends BaseQuickAdapter<WeekThisYear.ResultDTO.ValuesDTO, BaseViewHolder> {

    public WeekThisYearCAdapter(@Nullable List<WeekThisYear.ResultDTO.ValuesDTO> data) {
        super(R.layout.item_week_thisyearc, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, WeekThisYear.ResultDTO.ValuesDTO item) {
    helper.setText(R.id.tvText,item.getValue());

    }
}
